package com.stone.bypass.proxy.core.anno;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

/**
 * @Auther: stone
 * @Description: 分流服务
 * @date Date : 2021年07月23日 5:38 下午
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface DiversionService {

    @AliasFor(annotation = Component.class)
    String value() default "";

    String version();
}
